package org.wu.spring.db.integration.compare.application.assembler;

import org.wu.spring.db.integration.compare.application.command.orm.compare.records.*;
import org.wu.spring.db.integration.compare.application.dto.DbCompareRecordsDTO;
import org.wu.spring.db.integration.compare.domain.model.orm.compare.records.DbCompareRecords;
import org.wu.spring.db.integration.compare.application.command.orm.compare.records.DbCompareRecordsStoryCommand;
import org.mapstruct.factory.Mappers;
import org.mapstruct.Mapper;
/**
 * describe Orm 操作记录 
 *
 * @author Jia wei Wu
 * @date 2024/02/28 01:02 下午
 * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyAssembler 
 **/
@Mapper
public interface OrmCompareRecordsDTOAssembler {


    /**
     * describe MapStruct 创建的代理对象
     *
     
     
     
     * @author Jia wei Wu
     * @date 2024/02/28 01:02 下午
     **/
    OrmCompareRecordsDTOAssembler INSTANCE = Mappers.getMapper(OrmCompareRecordsDTOAssembler.class);
    /**
     * describe 应用层存储入参转换成 领域对象
     *
     * @param dbCompareRecordsStoryCommand 保存Orm 操作记录对象
     * @return {@link DbCompareRecords} Orm 操作记录领域对象
     
     * @author Jia wei Wu
     * @date 2024/02/28 01:02 下午
     **/
     DbCompareRecords toOrmCompareRecords(DbCompareRecordsStoryCommand dbCompareRecordsStoryCommand);
    /**
     * describe 应用层更新入参转换成 领域对象
     *
     * @param ormCompareRecordsUpdateCommand 更新Orm 操作记录对象     
     * @return {@link DbCompareRecords} Orm 操作记录领域对象
     
     * @author Jia wei Wu
     * @date 2024/02/28 01:02 下午
     **/
     DbCompareRecords toOrmCompareRecords(OrmCompareRecordsUpdateCommand ormCompareRecordsUpdateCommand);
    /**
     * describe 应用层查询入参转换成 领域对象
     *
     * @param ormCompareRecordsQueryOneCommand 查询单个Orm 操作记录对象参数     
     * @return {@link DbCompareRecords} Orm 操作记录领域对象
     
     * @author Jia wei Wu
     * @date 2024/02/28 01:02 下午
     **/
     DbCompareRecords toOrmCompareRecords(OrmCompareRecordsQueryOneCommand ormCompareRecordsQueryOneCommand);
    /**
     * describe 应用层查询入参转换成 领域对象
     *
     * @param ddCompareRecordsQueryListCommand 查询集合Orm 操作记录对象参数
     * @return {@link DbCompareRecords} Orm 操作记录领域对象
     
     * @author Jia wei Wu
     * @date 2024/02/28 01:02 下午
     **/
     DbCompareRecords toOrmCompareRecords(DdCompareRecordsQueryListCommand ddCompareRecordsQueryListCommand);
    /**
     * describe 应用层删除入参转换成 领域对象
     *
     * @param dbCompareRecordsRemoveCommand 删除Orm 操作记录对象参数
     * @return {@link DbCompareRecords} Orm 操作记录领域对象
     
     * @author Jia wei Wu
     * @date 2024/02/28 01:02 下午
     **/
     DbCompareRecords toOrmCompareRecords(DbCompareRecordsRemoveCommand dbCompareRecordsRemoveCommand);
    /**
     * describe 持久层领域对象转换成DTO对象
     *
     * @param dbCompareRecords Orm 操作记录领域对象
     * @return {@link DbCompareRecordsDTO} Orm 操作记录DTO对象
     
     * @author Jia wei Wu
     * @date 2024/02/28 01:02 下午
     **/
     DbCompareRecordsDTO fromOrmCompareRecords(DbCompareRecords dbCompareRecords);
}